package com.wangshidai.demo02;

import com.wangshidai.demo01.Person;

public class Demo02 extends  Person{

    public void show(){
        Person person=new Person();
        System.out.println(this.sex);
        System.out.println(person.height);
       // System.out.println(person.age);
       // System.out.println(person.name);
    }
}
